package src.main.java.mapper;

import org.apache.ibatis.annotations.Mapper;
import vo.common.dto.system.SysRoleDto;
import vo.common.entity.system.SysRole;

import java.util.List;

@Mapper
public interface SysRoleMapper {

    List<SysRole> findByPage(SysRoleDto sysRoleDto);

    void saveSysRole(SysRole sysRole);

    void updateSysRole(SysRole sysRole);

    void deleteById(Long roleId);

    List<SysRole> findAllRoles();
}